<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <% include("/app/resapi/style.html"){}%>
    <link href="/module/jeDate/jedate.css" rel="stylesheet"/>
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <style type="text/css">
        #myTable tr td {
            vertical-align: middle;
        }
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 0px;">
    <div class="page-container">

        <div class="tab-content tabs-flat">
            <div class="buttons-preview" id="toobar">
                <span style="margin-left: 10px">事件类型:</span>
                <span>
										<select id="typeQuery" style="width: 150px">
										</select>
										</span>
                <span style="margin-left: 10px;">分配时间:</span>
                <span> <input type="text" class="form-control" id="beginTimeQuery" readonly="readonly"
                              style="width: 150px; display: inline-block;" name="beginTimeQuery" placeholder="${i18n('system.beginTime')}">
											</span>
                <span> - </span>
                <span> <input type="text" class="form-control" id="endTimeQuery" readonly="readonly"
                              style="width: 150px; display: inline-block;" name="endTimeQuery" placeholder="${i18n('system.endTime')}">
											</span>
                <span style="margin-left: 10px">
												<a href="javascript:void(0);"
                                                   class="btn btn-success js-query-but">${i18n('system.search')}</a>
											</span>
            </div>
            <table id="myTable"></table>
        </div>
    </div>
</div>

<div class="modal fade bs-example-modal-lg" tabindex="1" id="dowordmodal" role="dialog"
     aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myLargeModalLabel">添加事件</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" id="form3">
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">完成工作量：</label>
                        <div class="col-sm-2">
                            <input type="number" id="prcsValue" name="prcsValue" class="form-control"
                                   placeholder="完成工作量"/>
                        </div>
                        <div class="col-sm-4" style="line-height: 34px">
                            %
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">完成时间：</label>
                        <div class="col-sm-4">
                            <input type="text" id="finishTime" name="finishTime" readonly="readonly"
                                   class="form-control" placeholder="完成时间"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">处理过程：</label>
                        <div class="col-sm-8">
                            <textarea rows="5" cols="" class="form-control" id="content" name="content"
                                      placeholder="处理过程"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">${i18n('attach')} ：</label>
                        <div class="col-sm-6">
                            <div style="padding-top: 4px;">
                                <div id="show_superversionattach"></div>
                                <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value="" type="file"
                                                                                                          onchange="fileUpLoad('superversion','superversionattach');"
                                                                                                          hidefocus="true" size="1"
                                                                                                          id="superversionattach"
                                                                                                          name="superversionattach"
                                                                                                          class="addfile"
                                                                                                          multiple="multiple"></a>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-save">${i18n('ok')}</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<div class="modal fade bs-example-modal-lg" id="delayapplymodal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">延期申请</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal form-bordered" role="form2">
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">延期事由：</label>
                        <div class="col-sm-9">
                            <textarea class="form-control" id="delaycontent" name="delaycontent" placeholder="延期事由"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">延期日期：</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" id="delayTime" name="delayTime" placeholder="延期日期" readonly="readonly">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">${i18n('attach')} ：</label>
                        <div class="col-sm-9">
                            <div style="padding-top: 4px;">
                                <div id="show_attach"></div>
                                <a class="addfile" href="javascript:void(0)">
                                    ${i18n('fileupload')}
                                    <input data_value="" type="file" onchange="fileUpLoad('superversion','attach');" hidefocus="true" size="1" id="attach" name="attach" class="addfile" multiple="multiple"></a>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-save-delay">申请</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>

<div class="modal fade bs-example-modal-lg" id="changeUserModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"
     style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">任务转办</h4>
            </div>
            <div class="modal-body">
                <form id="form1">
                <select class="form-control" id="changeUserList"></select>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-add-change">转办</button>
            </div>
        </div>
    </div>
</div>

<div class="modal fade bs-example-modal-lg" id="setbpmmodal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"
     style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">流程选择</h4>
            </div>
            <div class="modal-body">
                <table class="table table-hover table-striped table-bordered">
                    <tr>
                        <td width="20%">选择流程：</td>
                        <td width="80%" colspan="3">
                            <select id="flowId" name="flowId" class="form-control"></select>
                        </td>
                    </tr>
                    <tr>
                        <td width="20%">流程标题：</td>
                        <td width="80%" colspan="3"><input placeholder="流程标题" type="text" name="title" id="title" maxlength="200" class="form-control"></td>
                    </tr>
                </table>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-add-bpm">${i18n('system.create')}</button>
            </div>
        </div>
    </div>
</div>


<div id="orgselectdiv"></div>
</body>
<% include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script src="/module/bootstrap-table/bootstrap-table.js"></script>
<script src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/superversion/process.js"></script>
</html>
